import { createStore, applyMiddleware, combineReducers } from 'redux'
import thunk from 'redux-thunk'
import count from './reducers/count'
import person from './reducers/person'

const reducers = combineReducers({ count, person })
const store = createStore(reducers, applyMiddleware(thunk))

export default store
